All the hours building, tuning, etc is all invaluable experience that you still have every bit of. Now you can apply it to building the Z back up better than it was before. If the frame is damaged, I'd try to find a clean shell and swap everything over.